#include "main_interface.h"
#include "create_connection.h"

#include <QApplication>

#include<QDebug>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //连接数据库
    if (!CreateConnection()){
        return 1;
    }

    MainInterface w;
    w.show();

    return a.exec();
}
